package com.jinxin.platform.cdsmsmgr.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * (CdsmsmgrAkInfo)实体类
 *
 * @author makejava
 * @since 2023-06-28 09:00:33
 */
public class CdsmsmgrAkInfo implements Serializable {
    private static final long serialVersionUID = -82621416423922155L;
    /**
    * AccessKey信息id
    */
    private Long id;
    /**
    * 用户的AccessKey
    */
    private String akId;
    /**
    * 用户的密钥
    */
    private String akSecret;
    /**
    * 用户账号
    */
    private String userAccount;
    /**
    * 创建时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    private LocalDateTime createTime;
    /**
    * 第三方账号类型
    */
    private String thirdAccountType;
    /**
    * 应用ID(腾讯)
    */
    private String appid;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAkId() {
        return akId;
    }

    public void setAkId(String akId) {
        this.akId = akId;
    }

    public String getAkSecret() {
        return akSecret;
    }

    public void setAkSecret(String akSecret) {
        this.akSecret = akSecret;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getThirdAccountType() {
        return thirdAccountType;
    }

    public void setThirdAccountType(String thirdAccountType) {
        this.thirdAccountType = thirdAccountType;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

}